@extends('admin::layouts.master')
@section('content')
    <div class="modal-header">
        <h3 id="ModalLabel">{{ $title or '' }}</h3>
    </div>
    <div class="modal-body">
        <div class="row">
            <label for="categoryModel" class="col-sm-2 control-label">Category name</label>
            <div class="col-sm-10">
              {{ $category->category_name;}}
            </div>
        </div>

        <div class="row">
            <label for="categoryName" class="col-sm-2 control-label">Category description</label>
            <div class="col-sm-10">
                {{ $category->category_description;}}
            </div>
        </div>

        <div class="row">
          <label for="price" class="col-sm-2 control-label">Created at</label>
          <div class="col-sm-10">
              {{ $category->created_at }}
          </div>
        </div>

        <div class="row">
          <label for="price" class="col-sm-2 control-label">Updated at</label>
          <div class="col-sm-10">
              {{ $category->updated_at }}
          </div>
        </div>

        <div class="row">
            <label for="Status" class="col-sm-2 control-label">Status</label>
            <div class="col-sm-10">@if($category->status) Published @else Unpublished @endif</div>
        </div>
    </div>
    <div class="modal-footer"></div>
@stop